@import "./general.css";

body {
}

img {
  display: block;
  -webkit-filter: brightness(100%);
}

.headerGrid {
  display: grid;
  grid-template-columns: auto fit-content(100%) auto;
  align-items: center;
  gap: 2rem;
}

.headerTitle a {
  font-size: var(--font-6);
  /* font-size: clamp(var(--font-3), 4vw, var(--font-10)); */

  color: var(--grey-color1);
  font-weight: 500;
  letter-spacing: 0.5rem;
  text-decoration: none;
  vertical-align: middle;
}

.headerDash a {
}

.headerJob a {
  font-size: var(--font-5);
  /* color: #3b5bdb; */
  color: var(--grey-color2);
  font-weight: 300;
  letter-spacing: 0.2rem;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  height: var(--whitespace3);
  padding: 2.3rem;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: var(--whitespace3);
}

.main-nav-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.main-nav-link {
  color: var(--grey-color1);

  font-size: var(--font-4);
  font-weight: var(--font-weight-medium);

  text-decoration: none;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.container-cards {
  max-width: 155rem;
  margin: 0 auto;
  margin-top: var(--whitespace2);

  display: flex;
  flex-direction: column;
  gap: 30px;
  /* margin-top: var(--whitespace2); */
}

.main-cards {
  /* display: flex;
  justify-content: center;
  gap: var(--whitespace2); */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  /* grid-auto-rows: minmax(100px, auto); */
  align-self: center;
  justify-self: center;
  justify-content: center;
  column-gap: 30px;
  padding-bottom: 60px;
  padding: 0 30px;
}

.secondary-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  /* grid-auto-rows: minmax(100px, auto); */
  align-self: center;
  justify-self: center;
  column-gap: 30px;
  row-gap: 30px;
  padding: 0 30px;
}

.card {
  position: relative;
  display: flex;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 3px 3px 5px rgb(88, 88, 88);
}

.main {
  /* max-width: 760px; */
  width: 100%;
  /* max-height: 230px; */
  height: 100%;

  overflow: hidden;
}

/* 
ratio = 2.34:1 
https://croppola.com/
*/
.secondary {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  position: relative;
  /* top: -138px; */
  object-position: center center;
}

/* .container-cards .card-text { */
.card-text {
  /* display: none; */
  color: var(--main-text-color);
  position: absolute;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;

  pointer-events: none;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.7) 100%
  );
  text-align: right;
  /* padding-right: var(--whitespace1); */
  padding-right: min(1.5vw, var(--whitespace1));
  /* display: flex;
  flex-direction: column; */
  display: none;
}

/* .main-cards .card-text {
  padding-left: var(--whitespace5);
}

.secondary-cards .card-text {
  padding-left: var(--whitespace1);
} */

.card-text li {
  /* font-size: var(--font-4); */
  font-size: min(1vw, var(--font-4));
  line-height: var(--line-height-large);
  list-style: none;
}

.nom-projet {
  /* font-size: var(--font-10); */
  text-shadow: 4px 4px 5px rgb(65, 65, 65);
  /* padding-top: 10px; */
  padding-top: min(1.5vw, 5px);
  /* font-size: 2.5vw; */
  /* font-size: max(30px, 2.5vw); */
  /* font-size: max(2.5vw, 30px); */
  font-size: min(2.5vw, var(--font-10));
}

.infos {
  display: flex;
  flex-direction: column;
  /* display: none; */
}

.created-in {
  /* font-size: min(1vw, var(--font-1)); */

  /* padding-bottom: 10px; */
  padding-bottom: min(0.3vw, 10px);
}

.small {
  display: none;
}

.projectimage img:hover {
  -webkit-filter: brightness(60%);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.projectpage {
  color: var(--grey-color1);
  font-weight: bold;
}

#titreContact {
  margin-bottom: var(--whitespace3);
}

#linksOne {
  margin-top: 0px;
  margin-bottom: var(--whitespace3);
}

.projectImage {
  margin-top: var(--whitespace1);
  width: 100%;
  border-radius: 5px;
}

.imageProject {
  display: block;
  margin: 0 auto;
  margin-top: var(--whitespace2);
  width: 100%;
  border-radius: 5px;
}

.h2projet {
  margin-top: var(--whitespace3);
  margin-bottom: var(--whitespace1);
}

.metricsList {
  padding-left: 0;
  list-style-position: inside;
}

.linkofthegame {
  margin-top: var(--whitespace3);
  display: inline-block;
  align-content: center;
  text-decoration: none;
  /* color: var(--grey-color1); */
  color: white;
  font-weight: 700;
  /* padding: 0.2rem 1rem; */
  padding: 0.6rem 1.5rem;
  /* background-color: #fd7e14; */
  background-color: var(--grey-color1);
  /* background-color: #2b8a3e; */
  border-radius: 5px;
  text-align: center;
}

.linkedin {
  color: white;
  /* linkedin blue */
  /* background-color: #0e76a8; */
  background-color: var(--grey-color1);
}

.emailMe {
  color: white;
  /* linkedin blue */
  /* background-color: #f03e3e; */
  background-color: var(--grey-color1);
}

.linkofthegamediv a:hover {
  background-color: var(--grey-color3);
  color: var(--grey-color1);
}

#mailContact {
  padding-top: var(--whitespace1);
}

.centered {
  text-align: center;
}

.titre {
  font-size: var(--font-7);
  margin-top: var(--whitespace3);
  font-weight: 700;
  letter-spacing: 0.5rem;
  text-align: center;
}

.footer {
  display: flex;
  justify-content: center;
}

.footer a {
  font-size: var(--font-3);
  color: var(--grey-color3);
  text-decoration: none;
}
/* ===== Sling It ===== */
#imgSlingIt01 {
  width: 100%;
}
#imgSlingIt02 {
  width: 50%;
}
#imgSlingIt03 {
  width: 50%;
}
#imgSlingIt04 {
  width: 50%;
}
#imgSlingIt05 {
  width: 50%;
}

/* ===== Superbuzzer 3 ===== */
#imgSB01 {
  width: 100%;
}
#imgSB02 {
  width: 100%;
}
#imgSB03 {
  width: 100%;
}

/* ===== Bravoscratch ===== */
#imgBSC01 {
  width: 100%;
}
#imgBSC02 {
  width: 100%;
}
#imgBSC03 {
  width: 50%;
}

/* ===== Bravocoin ===== */
#imgBC01 {
  width: 100%;
}
#imgBC02 {
  width: 100%;
}
#imgBC03 {
  width: 50%;
}

/* ===== Slowtime ===== */
#imgSlowtime01 {
  width: 70%;
}
#imgSlowtime02 {
  width: 70%;
}
#imgSlowtime03 {
  width: 70%;
}
#imgSlowtime04 {
  width: 100%;
}
#imgSlowtime05 {
  width: 100%;
}
#imgSlowtime06 {
  width: 100%;
}
#imgSlowtime07 {
  width: 100%;
}

/* ===== Blue Motion ===== */
#imgBlueMotion01 {
  width: 100%;
}
#imgBlueMotion02 {
  width: 100%;
}
#imgBlueMotion03 {
  width: 100%;
}
#imgBlueMotion04 {
  width: 100%;
}

/* ===== Luminary ===== */
#imgLuminary01 {
  width: 100%;
}
#imgLuminary02 {
  width: 100%;
}
#imgLuminary03 {
  width: 100%;
}

/* ===== Blob Hunted ===== */
#imgBlobHunted01 {
  width: 70%;
}
#imgBlobHunted02 {
  width: 70%;
}
#imgBlobHunted03 {
  width: 70%;
}

/* ===== Quantum ===== */
#imgQuantum01 {
  width: 70%;
}
#imgQuantum02 {
  width: 100%;
}
#imgQuantum03 {
  width: 100%;
}

/* ===== Contact ===== */
#imgContact01 {
  width: 70%;
}
#imgContact02 {
  width: 100%;
}
#imgContact03 {
  width: 100%;
}
